package com.example.practical_training_projects.service;

import com.example.practical_training_projects.entity.test2;
import com.example.practical_training_projects.entity.user;
import com.example.practical_training_projects.vo.votest2class;
import com.example.practical_training_projects.vo.votestclass;
import com.github.pagehelper.PageInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface test2Service {
    List<test2> getAlltest2();

    Integer deleteTest2(Integer t2_uid);

    Integer insertTest2(test2 t2_uid);

    test2 findTest2uid(Integer t2_uid);

    Integer updateTest2(test2 test2);

    List<test2>  getContest2(String t2_context);
    List<votest2class> findAlltest2Andclass();
    List<votest2class> findtest2Bycontext(String t2_context);
    List<votest2class> findtest2BycontextAndclassuid(Integer ts_uid, String t2_context);
    PageInfo<votest2class> findtestpage(Integer pageNum, Integer pageSize);//分页，pageNum：当前是第几页,pageSize：每页多少条数据
}
